package com.zengqingfa.examples.mybatisplus.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 科建MDG供应商信息
 *
 * @date 2022/11/03
 */
@Data
public class VendorPageVO {

    private Long id;

    @ApiModelProperty("MDG供应商编码")
    private String lifnr;

    @ApiModelProperty("供应商名称")
    private String nameOrg1;

    @ApiModelProperty("统一社会信用代码")
    private String zzstceg;

    @ApiModelProperty("境外工商注册号")
    private String zzjwgs;

    @ApiModelProperty("经营期限")
    private String zjyqx;

    @ApiModelProperty("营业执照开始日期")
    private String zbegdat;

    @ApiModelProperty("营业执照截止日期")
    private String zenddat;

    @ApiModelProperty("供应商性质")
    private String zxzfl;

    @ApiModelProperty("组织类型")
    private String zzzlx;

    @ApiModelProperty("成立日期")
    private String zclrq;

    @ApiModelProperty("详细地址")
    private String zxxdz;

    @ApiModelProperty("法定代表人/分支机构负责人")
    private String zzfr;

    @ApiModelProperty("分支机构负责人手机")
    private String phone;

    @ApiModelProperty("注册资本")
    private String zzczb;

    @ApiModelProperty("币种")
    private String zcny;

    @ApiModelProperty("实缴金额")
    private String zsjje;

    @ApiModelProperty("企业经济类型")
    private String zqyjjlx;


    @ApiModelProperty("企业邮箱")
    private String zqyyx;

    @ApiModelProperty("实际控制人名称")
    private String zzcon;

    @ApiModelProperty("经营范围")
    private String zjyfw;

    @ApiModelProperty("是否碧桂园集团子公司")
    private String zsfzgs;

    @ApiModelProperty("企业属性")
    private String zqysx;

    @ApiModelProperty("商业模式")
    private String zsyms;

    @ApiModelProperty("是否碧桂园核心联盟企业")
    private String zsfhxqy;

    @ApiModelProperty("注册状态")
    private String zzczt;

    @ApiModelProperty("首次入库时间")
    private String zscrksj;


    @ApiModelProperty("是否愿意使用电子签章")
    private String zdzqz;




    @ApiModelProperty("创建人")
    private String ernam;

    @ApiModelProperty("创建时间")
    private String crtim;


    public String getZjyqx() {
        if (zjyqx == null) {
            return null;
        }
        switch (zjyqx) {
            case "0":
                return "长期";
            case "1":
                return "短期";
            default:
                return zjyqx;
        }
    }

    public String getZxzfl() {
        if (zxzfl == null) {
            return null;
        }
        switch (zxzfl) {
            case "0":
                return "政府机构";
            case "1":
                return "企业";
            case "2":
                return "个人";
            default:
                return zxzfl;
        }
    }

    public String getZzzlx() {
        if (zzzlx == null) {
            return null;
        }
        switch (zzzlx) {
            case "0":
                return "总公司";
            case "1":
                return "子公司";
            case "2":
                return "分支机构";
            case "3":
                return "实际承包人";
            case "4":
                return "个体户";
            case "5":
                return "一般公司";
            default:
                return zzzlx;
        }
    }

    public String getZsfzgs() {
        if (zsfzgs == null) {
            return null;
        }
        switch (zsfzgs) {
            case "0":
                return "是";
            case "1":
                return "否";
            default:
                return zsfzgs;
        }
    }

    public String getZqysx() {
        if (zqysx == null) {
            return null;
        }
        switch (zqysx) {
            case "0":
                return "国企";
            case "1":
                return "央企";
            case "2":
                return "民企";
            default:
                return zqysx;
        }
    }

    public String getZsyms() {
        if (zsyms == null) {
            return null;
        }
        switch (zsyms) {
            case "0":
                return "经销商";
            case "1":
                return "制造商";
            case "2":
                return "服务商";
            case "3":
                return "代理商";
            case "4":
                return "贸易商";
            case "5":
                return "电商平台";
            default:
                return zsyms;
        }
    }

    public String getZsfhxqy() {
        if (zsfhxqy == null) {
            return null;
        }
        switch (zsfhxqy) {
            case "0":
                return "否";
            case "1":
                return "是";
            default:
                return zsfhxqy;
        }
    }

    public String getZzczt() {
        if (zzczt == null) {
            return null;
        }
        switch (zzczt) {
            case "1":
                return "产品服务及附件上传填写中";
            case "2":
                return "基本信息填写中";
            case "3":
                return "人员信息填写中";
            case "4":
                return "银行及开票信息填写中";
            case "5":
                return "制造商及设备信息填写中";
            case "6":
                return "客户及案例信息填写中";
            case "7":
                return "获奖信息填写中";
            case "8":
                return "关联关系申报填写中";
            case "20":
                return "注册完成";
            default:
                return zzczt;
        }
    }

    public String getZdzqz() {
        if (zdzqz == null) {
            return null;
        }
        switch (zdzqz) {
            case "0":
                return "否";
            case "1":
                return "是";
            default:
                return zdzqz;
        }
    }

}
